Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downloader: show correct rates after restart #13324

Merged
merged 3 commits into from
Jan 7, 2025
Merged

downloader: show correct rates after restart #13324

merged 3 commits into from
Jan 7, 2025

Conversation

dvovk
Copy link
Member

@dvovk dvovk commented Jan 6, 2025

Set initial values prevStats.BytesDownload and prevStats.BytesCompleted if they are zero, which can occur if the node was restarted or launched for first time.
Fix for #13250 and #13044

@dvovk dvovk requested review from mh0lt, AskAlexSharov and taratorio and removed request for mh0lt January 6, 2025 11:37
@dvovk dvovk merged commit e3cb56e into main Jan 7, 2025
13 checks passed
@dvovk dvovk deleted the ndlmsg branch January 7, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants